import request from "@/utils/request";

// 分页操作日志查询
export function listPageBusinessLogs(data) {
  return request({
    url: "/business-log/pages",
    method: "get",
    params: data,
  });
}

// 操作日志查询
export function getBusinessLog(data) {
  return request({
    url: "/business-log/" + data,
    method: "get",
  });
}

// 批量删除操作日志
export function deleteBusinessLogs(data) {
  return request({
    url: "/business-log",
    method: "delete",
    params: data,
  });
}

// 删除操作日志
export function deleteBusinessLog(data) {
  return request({
    url: "/business-log/" + data,
    method: "delete",
  });
}
